package com.dwxt.mall.dao;

import com.dwxt.mall.entity.MallIndex;
import com.dwxt.mall.entity.MallIndexExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallIndexMapper {
    long countByExample(MallIndexExample example);

    int deleteByExample(MallIndexExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallIndex record);

    int insertSelective(MallIndex record);

    List<MallIndex> selectByExample(MallIndexExample example);

    MallIndex selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallIndex record, @Param("example") MallIndexExample example);

    int updateByExample(@Param("record") MallIndex record, @Param("example") MallIndexExample example);

    int updateByPrimaryKeySelective(MallIndex record);

    int updateByPrimaryKey(MallIndex record);
}